#include<iostream>
using namespace std;
int main()
{
    int a,b,c,d;
    cout<<"ingrese numero"<<endl;
    cin>>a;
    cout<<"ingrese numero 2"<<endl;
    cin>>b;
    cout<<"ingrese numero 3"<<endl;
    cin>>c;
    cout<<endl<<"es mayor";
    cout<<endl<<"es menor";
    cout<<endl<<"es igual";
    cin>>d;
    switch (d)
    {
        case 1:

        cout<<'<'<<endl;
        break;

        case 2:

        cout<<'>'<<endl;
        break;

        case 3:
        cout<<'='<<endl;
        break;
        default:
        cout<<"error";
        break;

    }
        if(a>b&&b>=c)
    {
        cout<<"el mayor es"<<endl;
        cout<<a<<endl;
    }

        else if(a<b&&b>c)
        {
            cout<<"el mayor es"<<endl;
            cout<<b<<endl;
        }

                else if (a<=b&&b<c)
            {
                cout<<"el mayor es"<<endl;
                cout<<c<<endl;
            }
                else if (a==b&&b==c)
                {
                    cout<<"son todos iguales"<<endl;

                }
                else if (a<b&&b<c)
            {
                cout<<"el menor es"<<endl;
                cout<<a<<endl;
            }
            else if (a>b&&b>c)
            {
                cout<<"el menor es"<<endl;
                cout<<c<<endl;
            }
            else if (a>b&&b<c)
            {
                cout<<"el menor es"<<endl;
                cout<<b<<endl;
            }
                else if (a==b&&b<c)
            {
                cout<<"son iguales"<<endl;
                cout<<a<<endl;
            }
                     else if (a>b&&b==c)
            {
                cout<<"son iguales"<<endl;
                cout<<b<<endl;
            }     else if (a==c&&b>c)
            {
                cout<<"son iguales"<<endl;
                cout<<c<<endl;
            }





return 1 ;
}


